<%@ page contentType="text/html;charset=windows-1251" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<s:actionerror/>

<s:form action="SaveUser">
    <s:hidden name="id" value="%{id}" />
    <s:textfield name="username" value="%{user.username}" required="true" label="Username" />
    <s:textfield name="password" value="" label="Password"  required="true"/>
    <s:textfield name="cpassword" value="" label="Confirm password" required="true" />
    <s:submit name="submit" value="Submit" />
    <s:reset name="reset" value="Reset"/>
</s:form>